import ast
import pathlib
import os
import re
import shutil

import odoo
from odoo.tools.config import config

VERSION = 1
DEFAULT_EXCLUDE = [
    "__manifest__.py",
    "__openerp__.py",
    "tests/**/*",
    "static/lib/**/*",
    "static/tests/**/*",
    "migrations/**/*",
]

STANDARD_MODULES = ['web', 'web_enterprise', 'website_animate', 'base']
MAX_FILE_SIZE = 25 * 2**20 # 25 MB

class Cloc(object):
    def __init__(self):
        pass

    def parse_xml(self, s):
        pass

    def parse_py(self, s):
        pass

    def parse_js(self, s):
        pass

    def book(self, module, item='', count=(0, 0)):
        pass

    def count_path(self, path, exclude=None):
        pass

    def count_modules(self, env):
        pass

    def count_customization(self, env):
        pass

    def count_env(self, env):
        pass

    def count_database(self, database):
        pass

    def report(self, verbose=False, width=None):
        pass

